package com.sunny.fetch.pojo;

import java.util.ArrayList;
import java.util.List;

public class FNcovGlobalExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public FNcovGlobalExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andTidIsNull() {
            addCriterion("tid is null");
            return (Criteria) this;
        }

        public Criteria andTidIsNotNull() {
            addCriterion("tid is not null");
            return (Criteria) this;
        }

        public Criteria andTidEqualTo(Long value) {
            addCriterion("tid =", value, "tid");
            return (Criteria) this;
        }

        public Criteria andTidNotEqualTo(Long value) {
            addCriterion("tid <>", value, "tid");
            return (Criteria) this;
        }

        public Criteria andTidGreaterThan(Long value) {
            addCriterion("tid >", value, "tid");
            return (Criteria) this;
        }

        public Criteria andTidGreaterThanOrEqualTo(Long value) {
            addCriterion("tid >=", value, "tid");
            return (Criteria) this;
        }

        public Criteria andTidLessThan(Long value) {
            addCriterion("tid <", value, "tid");
            return (Criteria) this;
        }

        public Criteria andTidLessThanOrEqualTo(Long value) {
            addCriterion("tid <=", value, "tid");
            return (Criteria) this;
        }

        public Criteria andTidIn(List<Long> values) {
            addCriterion("tid in", values, "tid");
            return (Criteria) this;
        }

        public Criteria andTidNotIn(List<Long> values) {
            addCriterion("tid not in", values, "tid");
            return (Criteria) this;
        }

        public Criteria andTidBetween(Long value1, Long value2) {
            addCriterion("tid between", value1, value2, "tid");
            return (Criteria) this;
        }

        public Criteria andTidNotBetween(Long value1, Long value2) {
            addCriterion("tid not between", value1, value2, "tid");
            return (Criteria) this;
        }

        public Criteria andAreaIdIsNull() {
            addCriterion("area_id is null");
            return (Criteria) this;
        }

        public Criteria andAreaIdIsNotNull() {
            addCriterion("area_id is not null");
            return (Criteria) this;
        }

        public Criteria andAreaIdEqualTo(String value) {
            addCriterion("area_id =", value, "areaId");
            return (Criteria) this;
        }

        public Criteria andAreaIdNotEqualTo(String value) {
            addCriterion("area_id <>", value, "areaId");
            return (Criteria) this;
        }

        public Criteria andAreaIdGreaterThan(String value) {
            addCriterion("area_id >", value, "areaId");
            return (Criteria) this;
        }

        public Criteria andAreaIdGreaterThanOrEqualTo(String value) {
            addCriterion("area_id >=", value, "areaId");
            return (Criteria) this;
        }

        public Criteria andAreaIdLessThan(String value) {
            addCriterion("area_id <", value, "areaId");
            return (Criteria) this;
        }

        public Criteria andAreaIdLessThanOrEqualTo(String value) {
            addCriterion("area_id <=", value, "areaId");
            return (Criteria) this;
        }

        public Criteria andAreaIdLike(String value) {
            addCriterion("area_id like", value, "areaId");
            return (Criteria) this;
        }

        public Criteria andAreaIdNotLike(String value) {
            addCriterion("area_id not like", value, "areaId");
            return (Criteria) this;
        }

        public Criteria andAreaIdIn(List<String> values) {
            addCriterion("area_id in", values, "areaId");
            return (Criteria) this;
        }

        public Criteria andAreaIdNotIn(List<String> values) {
            addCriterion("area_id not in", values, "areaId");
            return (Criteria) this;
        }

        public Criteria andAreaIdBetween(String value1, String value2) {
            addCriterion("area_id between", value1, value2, "areaId");
            return (Criteria) this;
        }

        public Criteria andAreaIdNotBetween(String value1, String value2) {
            addCriterion("area_id not between", value1, value2, "areaId");
            return (Criteria) this;
        }

        public Criteria andPublishDateIsNull() {
            addCriterion("publish_date is null");
            return (Criteria) this;
        }

        public Criteria andPublishDateIsNotNull() {
            addCriterion("publish_date is not null");
            return (Criteria) this;
        }

        public Criteria andPublishDateEqualTo(String value) {
            addCriterion("publish_date =", value, "publishDate");
            return (Criteria) this;
        }

        public Criteria andPublishDateNotEqualTo(String value) {
            addCriterion("publish_date <>", value, "publishDate");
            return (Criteria) this;
        }

        public Criteria andPublishDateGreaterThan(String value) {
            addCriterion("publish_date >", value, "publishDate");
            return (Criteria) this;
        }

        public Criteria andPublishDateGreaterThanOrEqualTo(String value) {
            addCriterion("publish_date >=", value, "publishDate");
            return (Criteria) this;
        }

        public Criteria andPublishDateLessThan(String value) {
            addCriterion("publish_date <", value, "publishDate");
            return (Criteria) this;
        }

        public Criteria andPublishDateLessThanOrEqualTo(String value) {
            addCriterion("publish_date <=", value, "publishDate");
            return (Criteria) this;
        }

        public Criteria andPublishDateLike(String value) {
            addCriterion("publish_date like", value, "publishDate");
            return (Criteria) this;
        }

        public Criteria andPublishDateNotLike(String value) {
            addCriterion("publish_date not like", value, "publishDate");
            return (Criteria) this;
        }

        public Criteria andPublishDateIn(List<String> values) {
            addCriterion("publish_date in", values, "publishDate");
            return (Criteria) this;
        }

        public Criteria andPublishDateNotIn(List<String> values) {
            addCriterion("publish_date not in", values, "publishDate");
            return (Criteria) this;
        }

        public Criteria andPublishDateBetween(String value1, String value2) {
            addCriterion("publish_date between", value1, value2, "publishDate");
            return (Criteria) this;
        }

        public Criteria andPublishDateNotBetween(String value1, String value2) {
            addCriterion("publish_date not between", value1, value2, "publishDate");
            return (Criteria) this;
        }

        public Criteria andCountryIsNull() {
            addCriterion("country is null");
            return (Criteria) this;
        }

        public Criteria andCountryIsNotNull() {
            addCriterion("country is not null");
            return (Criteria) this;
        }

        public Criteria andCountryEqualTo(String value) {
            addCriterion("country =", value, "country");
            return (Criteria) this;
        }

        public Criteria andCountryNotEqualTo(String value) {
            addCriterion("country <>", value, "country");
            return (Criteria) this;
        }

        public Criteria andCountryGreaterThan(String value) {
            addCriterion("country >", value, "country");
            return (Criteria) this;
        }

        public Criteria andCountryGreaterThanOrEqualTo(String value) {
            addCriterion("country >=", value, "country");
            return (Criteria) this;
        }

        public Criteria andCountryLessThan(String value) {
            addCriterion("country <", value, "country");
            return (Criteria) this;
        }

        public Criteria andCountryLessThanOrEqualTo(String value) {
            addCriterion("country <=", value, "country");
            return (Criteria) this;
        }

        public Criteria andCountryLike(String value) {
            addCriterion("country like", value, "country");
            return (Criteria) this;
        }

        public Criteria andCountryNotLike(String value) {
            addCriterion("country not like", value, "country");
            return (Criteria) this;
        }

        public Criteria andCountryIn(List<String> values) {
            addCriterion("country in", values, "country");
            return (Criteria) this;
        }

        public Criteria andCountryNotIn(List<String> values) {
            addCriterion("country not in", values, "country");
            return (Criteria) this;
        }

        public Criteria andCountryBetween(String value1, String value2) {
            addCriterion("country between", value1, value2, "country");
            return (Criteria) this;
        }

        public Criteria andCountryNotBetween(String value1, String value2) {
            addCriterion("country not between", value1, value2, "country");
            return (Criteria) this;
        }

        public Criteria andCountryEnnameIsNull() {
            addCriterion("country_enname is null");
            return (Criteria) this;
        }

        public Criteria andCountryEnnameIsNotNull() {
            addCriterion("country_enname is not null");
            return (Criteria) this;
        }

        public Criteria andCountryEnnameEqualTo(String value) {
            addCriterion("country_enname =", value, "countryEnname");
            return (Criteria) this;
        }

        public Criteria andCountryEnnameNotEqualTo(String value) {
            addCriterion("country_enname <>", value, "countryEnname");
            return (Criteria) this;
        }

        public Criteria andCountryEnnameGreaterThan(String value) {
            addCriterion("country_enname >", value, "countryEnname");
            return (Criteria) this;
        }

        public Criteria andCountryEnnameGreaterThanOrEqualTo(String value) {
            addCriterion("country_enname >=", value, "countryEnname");
            return (Criteria) this;
        }

        public Criteria andCountryEnnameLessThan(String value) {
            addCriterion("country_enname <", value, "countryEnname");
            return (Criteria) this;
        }

        public Criteria andCountryEnnameLessThanOrEqualTo(String value) {
            addCriterion("country_enname <=", value, "countryEnname");
            return (Criteria) this;
        }

        public Criteria andCountryEnnameLike(String value) {
            addCriterion("country_enname like", value, "countryEnname");
            return (Criteria) this;
        }

        public Criteria andCountryEnnameNotLike(String value) {
            addCriterion("country_enname not like", value, "countryEnname");
            return (Criteria) this;
        }

        public Criteria andCountryEnnameIn(List<String> values) {
            addCriterion("country_enname in", values, "countryEnname");
            return (Criteria) this;
        }

        public Criteria andCountryEnnameNotIn(List<String> values) {
            addCriterion("country_enname not in", values, "countryEnname");
            return (Criteria) this;
        }

        public Criteria andCountryEnnameBetween(String value1, String value2) {
            addCriterion("country_enname between", value1, value2, "countryEnname");
            return (Criteria) this;
        }

        public Criteria andCountryEnnameNotBetween(String value1, String value2) {
            addCriterion("country_enname not between", value1, value2, "countryEnname");
            return (Criteria) this;
        }

        public Criteria andProvinceIsNull() {
            addCriterion("province is null");
            return (Criteria) this;
        }

        public Criteria andProvinceIsNotNull() {
            addCriterion("province is not null");
            return (Criteria) this;
        }

        public Criteria andProvinceEqualTo(String value) {
            addCriterion("province =", value, "province");
            return (Criteria) this;
        }

        public Criteria andProvinceNotEqualTo(String value) {
            addCriterion("province <>", value, "province");
            return (Criteria) this;
        }

        public Criteria andProvinceGreaterThan(String value) {
            addCriterion("province >", value, "province");
            return (Criteria) this;
        }

        public Criteria andProvinceGreaterThanOrEqualTo(String value) {
            addCriterion("province >=", value, "province");
            return (Criteria) this;
        }

        public Criteria andProvinceLessThan(String value) {
            addCriterion("province <", value, "province");
            return (Criteria) this;
        }

        public Criteria andProvinceLessThanOrEqualTo(String value) {
            addCriterion("province <=", value, "province");
            return (Criteria) this;
        }

        public Criteria andProvinceLike(String value) {
            addCriterion("province like", value, "province");
            return (Criteria) this;
        }

        public Criteria andProvinceNotLike(String value) {
            addCriterion("province not like", value, "province");
            return (Criteria) this;
        }

        public Criteria andProvinceIn(List<String> values) {
            addCriterion("province in", values, "province");
            return (Criteria) this;
        }

        public Criteria andProvinceNotIn(List<String> values) {
            addCriterion("province not in", values, "province");
            return (Criteria) this;
        }

        public Criteria andProvinceBetween(String value1, String value2) {
            addCriterion("province between", value1, value2, "province");
            return (Criteria) this;
        }

        public Criteria andProvinceNotBetween(String value1, String value2) {
            addCriterion("province not between", value1, value2, "province");
            return (Criteria) this;
        }

        public Criteria andProvinceShortIsNull() {
            addCriterion("province_short is null");
            return (Criteria) this;
        }

        public Criteria andProvinceShortIsNotNull() {
            addCriterion("province_short is not null");
            return (Criteria) this;
        }

        public Criteria andProvinceShortEqualTo(String value) {
            addCriterion("province_short =", value, "provinceShort");
            return (Criteria) this;
        }

        public Criteria andProvinceShortNotEqualTo(String value) {
            addCriterion("province_short <>", value, "provinceShort");
            return (Criteria) this;
        }

        public Criteria andProvinceShortGreaterThan(String value) {
            addCriterion("province_short >", value, "provinceShort");
            return (Criteria) this;
        }

        public Criteria andProvinceShortGreaterThanOrEqualTo(String value) {
            addCriterion("province_short >=", value, "provinceShort");
            return (Criteria) this;
        }

        public Criteria andProvinceShortLessThan(String value) {
            addCriterion("province_short <", value, "provinceShort");
            return (Criteria) this;
        }

        public Criteria andProvinceShortLessThanOrEqualTo(String value) {
            addCriterion("province_short <=", value, "provinceShort");
            return (Criteria) this;
        }

        public Criteria andProvinceShortLike(String value) {
            addCriterion("province_short like", value, "provinceShort");
            return (Criteria) this;
        }

        public Criteria andProvinceShortNotLike(String value) {
            addCriterion("province_short not like", value, "provinceShort");
            return (Criteria) this;
        }

        public Criteria andProvinceShortIn(List<String> values) {
            addCriterion("province_short in", values, "provinceShort");
            return (Criteria) this;
        }

        public Criteria andProvinceShortNotIn(List<String> values) {
            addCriterion("province_short not in", values, "provinceShort");
            return (Criteria) this;
        }

        public Criteria andProvinceShortBetween(String value1, String value2) {
            addCriterion("province_short between", value1, value2, "provinceShort");
            return (Criteria) this;
        }

        public Criteria andProvinceShortNotBetween(String value1, String value2) {
            addCriterion("province_short not between", value1, value2, "provinceShort");
            return (Criteria) this;
        }

        public Criteria andProvinceEnnameIsNull() {
            addCriterion("province_enname is null");
            return (Criteria) this;
        }

        public Criteria andProvinceEnnameIsNotNull() {
            addCriterion("province_enname is not null");
            return (Criteria) this;
        }

        public Criteria andProvinceEnnameEqualTo(String value) {
            addCriterion("province_enname =", value, "provinceEnname");
            return (Criteria) this;
        }

        public Criteria andProvinceEnnameNotEqualTo(String value) {
            addCriterion("province_enname <>", value, "provinceEnname");
            return (Criteria) this;
        }

        public Criteria andProvinceEnnameGreaterThan(String value) {
            addCriterion("province_enname >", value, "provinceEnname");
            return (Criteria) this;
        }

        public Criteria andProvinceEnnameGreaterThanOrEqualTo(String value) {
            addCriterion("province_enname >=", value, "provinceEnname");
            return (Criteria) this;
        }

        public Criteria andProvinceEnnameLessThan(String value) {
            addCriterion("province_enname <", value, "provinceEnname");
            return (Criteria) this;
        }

        public Criteria andProvinceEnnameLessThanOrEqualTo(String value) {
            addCriterion("province_enname <=", value, "provinceEnname");
            return (Criteria) this;
        }

        public Criteria andProvinceEnnameLike(String value) {
            addCriterion("province_enname like", value, "provinceEnname");
            return (Criteria) this;
        }

        public Criteria andProvinceEnnameNotLike(String value) {
            addCriterion("province_enname not like", value, "provinceEnname");
            return (Criteria) this;
        }

        public Criteria andProvinceEnnameIn(List<String> values) {
            addCriterion("province_enname in", values, "provinceEnname");
            return (Criteria) this;
        }

        public Criteria andProvinceEnnameNotIn(List<String> values) {
            addCriterion("province_enname not in", values, "provinceEnname");
            return (Criteria) this;
        }

        public Criteria andProvinceEnnameBetween(String value1, String value2) {
            addCriterion("province_enname between", value1, value2, "provinceEnname");
            return (Criteria) this;
        }

        public Criteria andProvinceEnnameNotBetween(String value1, String value2) {
            addCriterion("province_enname not between", value1, value2, "provinceEnname");
            return (Criteria) this;
        }

        public Criteria andConfirmedNumIsNull() {
            addCriterion("confirmed_num is null");
            return (Criteria) this;
        }

        public Criteria andConfirmedNumIsNotNull() {
            addCriterion("confirmed_num is not null");
            return (Criteria) this;
        }

        public Criteria andConfirmedNumEqualTo(Integer value) {
            addCriterion("confirmed_num =", value, "confirmedNum");
            return (Criteria) this;
        }

        public Criteria andConfirmedNumNotEqualTo(Integer value) {
            addCriterion("confirmed_num <>", value, "confirmedNum");
            return (Criteria) this;
        }

        public Criteria andConfirmedNumGreaterThan(Integer value) {
            addCriterion("confirmed_num >", value, "confirmedNum");
            return (Criteria) this;
        }

        public Criteria andConfirmedNumGreaterThanOrEqualTo(Integer value) {
            addCriterion("confirmed_num >=", value, "confirmedNum");
            return (Criteria) this;
        }

        public Criteria andConfirmedNumLessThan(Integer value) {
            addCriterion("confirmed_num <", value, "confirmedNum");
            return (Criteria) this;
        }

        public Criteria andConfirmedNumLessThanOrEqualTo(Integer value) {
            addCriterion("confirmed_num <=", value, "confirmedNum");
            return (Criteria) this;
        }

        public Criteria andConfirmedNumIn(List<Integer> values) {
            addCriterion("confirmed_num in", values, "confirmedNum");
            return (Criteria) this;
        }

        public Criteria andConfirmedNumNotIn(List<Integer> values) {
            addCriterion("confirmed_num not in", values, "confirmedNum");
            return (Criteria) this;
        }

        public Criteria andConfirmedNumBetween(Integer value1, Integer value2) {
            addCriterion("confirmed_num between", value1, value2, "confirmedNum");
            return (Criteria) this;
        }

        public Criteria andConfirmedNumNotBetween(Integer value1, Integer value2) {
            addCriterion("confirmed_num not between", value1, value2, "confirmedNum");
            return (Criteria) this;
        }

        public Criteria andConfirmedNumNowIsNull() {
            addCriterion("confirmed_num_now is null");
            return (Criteria) this;
        }

        public Criteria andConfirmedNumNowIsNotNull() {
            addCriterion("confirmed_num_now is not null");
            return (Criteria) this;
        }

        public Criteria andConfirmedNumNowEqualTo(Integer value) {
            addCriterion("confirmed_num_now =", value, "confirmedNumNow");
            return (Criteria) this;
        }

        public Criteria andConfirmedNumNowNotEqualTo(Integer value) {
            addCriterion("confirmed_num_now <>", value, "confirmedNumNow");
            return (Criteria) this;
        }

        public Criteria andConfirmedNumNowGreaterThan(Integer value) {
            addCriterion("confirmed_num_now >", value, "confirmedNumNow");
            return (Criteria) this;
        }

        public Criteria andConfirmedNumNowGreaterThanOrEqualTo(Integer value) {
            addCriterion("confirmed_num_now >=", value, "confirmedNumNow");
            return (Criteria) this;
        }

        public Criteria andConfirmedNumNowLessThan(Integer value) {
            addCriterion("confirmed_num_now <", value, "confirmedNumNow");
            return (Criteria) this;
        }

        public Criteria andConfirmedNumNowLessThanOrEqualTo(Integer value) {
            addCriterion("confirmed_num_now <=", value, "confirmedNumNow");
            return (Criteria) this;
        }

        public Criteria andConfirmedNumNowIn(List<Integer> values) {
            addCriterion("confirmed_num_now in", values, "confirmedNumNow");
            return (Criteria) this;
        }

        public Criteria andConfirmedNumNowNotIn(List<Integer> values) {
            addCriterion("confirmed_num_now not in", values, "confirmedNumNow");
            return (Criteria) this;
        }

        public Criteria andConfirmedNumNowBetween(Integer value1, Integer value2) {
            addCriterion("confirmed_num_now between", value1, value2, "confirmedNumNow");
            return (Criteria) this;
        }

        public Criteria andConfirmedNumNowNotBetween(Integer value1, Integer value2) {
            addCriterion("confirmed_num_now not between", value1, value2, "confirmedNumNow");
            return (Criteria) this;
        }

        public Criteria andSuspectedNumIsNull() {
            addCriterion("suspected_num is null");
            return (Criteria) this;
        }

        public Criteria andSuspectedNumIsNotNull() {
            addCriterion("suspected_num is not null");
            return (Criteria) this;
        }

        public Criteria andSuspectedNumEqualTo(Integer value) {
            addCriterion("suspected_num =", value, "suspectedNum");
            return (Criteria) this;
        }

        public Criteria andSuspectedNumNotEqualTo(Integer value) {
            addCriterion("suspected_num <>", value, "suspectedNum");
            return (Criteria) this;
        }

        public Criteria andSuspectedNumGreaterThan(Integer value) {
            addCriterion("suspected_num >", value, "suspectedNum");
            return (Criteria) this;
        }

        public Criteria andSuspectedNumGreaterThanOrEqualTo(Integer value) {
            addCriterion("suspected_num >=", value, "suspectedNum");
            return (Criteria) this;
        }

        public Criteria andSuspectedNumLessThan(Integer value) {
            addCriterion("suspected_num <", value, "suspectedNum");
            return (Criteria) this;
        }

        public Criteria andSuspectedNumLessThanOrEqualTo(Integer value) {
            addCriterion("suspected_num <=", value, "suspectedNum");
            return (Criteria) this;
        }

        public Criteria andSuspectedNumIn(List<Integer> values) {
            addCriterion("suspected_num in", values, "suspectedNum");
            return (Criteria) this;
        }

        public Criteria andSuspectedNumNotIn(List<Integer> values) {
            addCriterion("suspected_num not in", values, "suspectedNum");
            return (Criteria) this;
        }

        public Criteria andSuspectedNumBetween(Integer value1, Integer value2) {
            addCriterion("suspected_num between", value1, value2, "suspectedNum");
            return (Criteria) this;
        }

        public Criteria andSuspectedNumNotBetween(Integer value1, Integer value2) {
            addCriterion("suspected_num not between", value1, value2, "suspectedNum");
            return (Criteria) this;
        }

        public Criteria andCuredNumIsNull() {
            addCriterion("cured_num is null");
            return (Criteria) this;
        }

        public Criteria andCuredNumIsNotNull() {
            addCriterion("cured_num is not null");
            return (Criteria) this;
        }

        public Criteria andCuredNumEqualTo(Integer value) {
            addCriterion("cured_num =", value, "curedNum");
            return (Criteria) this;
        }

        public Criteria andCuredNumNotEqualTo(Integer value) {
            addCriterion("cured_num <>", value, "curedNum");
            return (Criteria) this;
        }

        public Criteria andCuredNumGreaterThan(Integer value) {
            addCriterion("cured_num >", value, "curedNum");
            return (Criteria) this;
        }

        public Criteria andCuredNumGreaterThanOrEqualTo(Integer value) {
            addCriterion("cured_num >=", value, "curedNum");
            return (Criteria) this;
        }

        public Criteria andCuredNumLessThan(Integer value) {
            addCriterion("cured_num <", value, "curedNum");
            return (Criteria) this;
        }

        public Criteria andCuredNumLessThanOrEqualTo(Integer value) {
            addCriterion("cured_num <=", value, "curedNum");
            return (Criteria) this;
        }

        public Criteria andCuredNumIn(List<Integer> values) {
            addCriterion("cured_num in", values, "curedNum");
            return (Criteria) this;
        }

        public Criteria andCuredNumNotIn(List<Integer> values) {
            addCriterion("cured_num not in", values, "curedNum");
            return (Criteria) this;
        }

        public Criteria andCuredNumBetween(Integer value1, Integer value2) {
            addCriterion("cured_num between", value1, value2, "curedNum");
            return (Criteria) this;
        }

        public Criteria andCuredNumNotBetween(Integer value1, Integer value2) {
            addCriterion("cured_num not between", value1, value2, "curedNum");
            return (Criteria) this;
        }

        public Criteria andDeadNumIsNull() {
            addCriterion("dead_num is null");
            return (Criteria) this;
        }

        public Criteria andDeadNumIsNotNull() {
            addCriterion("dead_num is not null");
            return (Criteria) this;
        }

        public Criteria andDeadNumEqualTo(Integer value) {
            addCriterion("dead_num =", value, "deadNum");
            return (Criteria) this;
        }

        public Criteria andDeadNumNotEqualTo(Integer value) {
            addCriterion("dead_num <>", value, "deadNum");
            return (Criteria) this;
        }

        public Criteria andDeadNumGreaterThan(Integer value) {
            addCriterion("dead_num >", value, "deadNum");
            return (Criteria) this;
        }

        public Criteria andDeadNumGreaterThanOrEqualTo(Integer value) {
            addCriterion("dead_num >=", value, "deadNum");
            return (Criteria) this;
        }

        public Criteria andDeadNumLessThan(Integer value) {
            addCriterion("dead_num <", value, "deadNum");
            return (Criteria) this;
        }

        public Criteria andDeadNumLessThanOrEqualTo(Integer value) {
            addCriterion("dead_num <=", value, "deadNum");
            return (Criteria) this;
        }

        public Criteria andDeadNumIn(List<Integer> values) {
            addCriterion("dead_num in", values, "deadNum");
            return (Criteria) this;
        }

        public Criteria andDeadNumNotIn(List<Integer> values) {
            addCriterion("dead_num not in", values, "deadNum");
            return (Criteria) this;
        }

        public Criteria andDeadNumBetween(Integer value1, Integer value2) {
            addCriterion("dead_num between", value1, value2, "deadNum");
            return (Criteria) this;
        }

        public Criteria andDeadNumNotBetween(Integer value1, Integer value2) {
            addCriterion("dead_num not between", value1, value2, "deadNum");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIsNull() {
            addCriterion("update_time is null");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIsNotNull() {
            addCriterion("update_time is not null");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeEqualTo(String value) {
            addCriterion("update_time =", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotEqualTo(String value) {
            addCriterion("update_time <>", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeGreaterThan(String value) {
            addCriterion("update_time >", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeGreaterThanOrEqualTo(String value) {
            addCriterion("update_time >=", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeLessThan(String value) {
            addCriterion("update_time <", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeLessThanOrEqualTo(String value) {
            addCriterion("update_time <=", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeLike(String value) {
            addCriterion("update_time like", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotLike(String value) {
            addCriterion("update_time not like", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIn(List<String> values) {
            addCriterion("update_time in", values, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotIn(List<String> values) {
            addCriterion("update_time not in", values, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeBetween(String value1, String value2) {
            addCriterion("update_time between", value1, value2, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotBetween(String value1, String value2) {
            addCriterion("update_time not between", value1, value2, "updateTime");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}